theoretical error in GPX if we had XML of the form <tag>content1<subtag />content2...
authorparkrrrr <parkrrrr@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 27 May 2004 19:36:32 +0000 (19:36 +0000)
committerparkrrrr <parkrrrr@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 27 May 2004 19:36:32 +0000 (19:36 +0000)
gpsbabel/gpx.c
gpsbabel/mingw/Makefile
gpsbabel/reference/magnav.pdb

index 50903cd9b9dd95057a1110acf5fabe5dba4f0d9d..9d2dc32461c68e5aeeb4c09c901ee505307e2fbf 100644 (file)
@@ -1040,11 +1040,11 @@ fprint_xml_chain( xml_tag *tag, const waypoint *wpt )
                                                "groundspeak:exported" );
                        }
                        fprintf( ofd, "</%s>", tag->tagname);
-                       if ( tag->parentcdata ) {
-                               tmp_ent = xml_entitize(tag->parentcdata);
-                               fprintf(ofd, "%s", tmp_ent );
-                               xfree(tmp_ent);
-                       }
+               }
+               if ( tag->parentcdata ) {
+                       tmp_ent = xml_entitize(tag->parentcdata);
+                       fprintf(ofd, "%s", tmp_ent );
+                       xfree(tmp_ent);
                }
                tag = tag->sibling;     
        }
index 03967bc59cdb55823a8f738ebe0181d8b6cfe262..2f422df46e5ed2acd2529fb6efadf7c4bc659b93 100644 (file)
@@ -1,4 +1,4 @@
-CC=/home/robertl/cross-tools/bin/i386-mingw32msvc-gcc
+CC=/usr/local/cross-tools/bin/i386-mingw32msvc-gcc
 VPATH=..
 
 FILES=gpsbabel.exe libexpat.dll ../win32/gpsbabelfront.exe ../README* ../COPYING
index 1a851c3ef93074d558d352e18368f42d55642eec..77be3af4cfe500cc2b1694c02c126527cb1e5071 100644 (file)
Binary files a/gpsbabel/reference/magnav.pdb and b/gpsbabel/reference/magnav.pdb differ